//
//  LMEditingLocalUserViewController.h
//  LM
//
//  Created by Kien Tran on 2/2/13.
//  Copyright (c) 2013 Kien Tran. All rights reserved.
//

#import <UIKit/UIKit.h>
@class LMLocalUser;
@protocol LMEditingLocalUserViewControllerDelegate;

@interface LMEditingLocalUserViewController : UITableViewController <UITextFieldDelegate>
@property (weak, nonatomic) IBOutlet UITextField *nameTextField;
- (IBAction)save:(id)sender;
@property (weak, nonatomic) IBOutlet UILabel *sexLabel;
@property (nonatomic, strong) LMLocalUser *localUser;
@property (weak, nonatomic) IBOutlet UILabel *birthdayLabel;
@property (weak, nonatomic) id<LMEditingLocalUserViewControllerDelegate> delegate;
@end

@protocol LMEditingLocalUserViewControllerDelegate <NSObject>

- (void)editingLocalUseViewController:(LMEditingLocalUserViewController *)sender saved:(LMLocalUser *)localUser;

@end